package org.compression.services;

import java.util.List;
import java.util.Set;

import org.model.AttrValueRel;
import org.model.BaseModel;
import org.model.Condition;
import org.model.MagazineAttrs;
import org.model.MagazineValue;
import org.model.SearchModel;
import org.model.SelectModel;
import org.model.TCategoryModel;
import org.model.TNewMagazine;
import org.model.business.BookAttrReturn;
import org.model.business.BookTranlate;

public interface SearchService {
	
	public Object getCategory() ;
	public Object getMagazine() ;
	public Object getCategoryId(String id);
	public Object getMaginzeId(String id);
	
	public void insertMaginze(TNewMagazine model);
	
	public Object getMaginzeName(String name);
	
	public void  insertMagazineattrs(MagazineAttrs mMagazineAttrs);
	
	public void insertMagazinevalue(MagazineValue mMagazineValue);
	
	public void   insertAttrValueRel(AttrValueRel mAttrValueRel);
	
	public List<MagazineAttrs> getMaginzeAttrId(String id);
	public List<MagazineValue>  getMaginzeValue(String id);
	
	public List<Object> getHigSearch(List<String> id,List<String> values);
	
	public Object getHighSelect(Condition mCondition) throws Exception;

	public List<BaseModel>   selectIdContional();
	
	public Object 	getDesc();
	
	public List<BaseModel>  getAllBook();
	
	
//	public Set<String> selectByIdListMagazineIds(String id);
	
	
	
	public Object	commSearch(List<String> ids);
	public Object selectByIdListMagazineIds(BookAttrReturn mBookAttrReturn);
	public Object commSearch(List<String> ids, long size);
	
	
	
	
}
